package de.tum.beilmeiner.im.client;

import com.google.gwt.user.client.rpc.AsyncCallback;

import de.novanic.eventservice.client.event.domain.Domain;
import de.tum.beilmeiner.im.shared.model.User;

public interface MessagingServiceAsync {

	public void sendLoginRequest(Domain UUID, String username, String password, AsyncCallback<Void> callback);
	public void updateContactList(Domain USER_DOMAIN,User triggerUser,  AsyncCallback<Void> asyncCallback);
	public void sendLogoutRequest(Domain USER_UUID, User user, AsyncCallback<Void> asyncCallback);
	public void createChatRoom(Domain USER_UUID, User user1, User user2, AsyncCallback<Void> asyncCallback);

}
